package com.yunxi.model.vip;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2019-09-06
 */
@Data
@EqualsAndHashCode(callSuper = false)

@TableName("pms_vip_apply_detail")
@ApiModel(value="VipApplyDetail对象", description="")
public class VipApplyDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "明细主键")
    @TableId(value = "DETAIL_ID", type = IdType.UUID)
    private String detailId;

    @ApiModelProperty(value = "申请id")
    @TableField("APPLY_ID")
    private String applyId;

    @ApiModelProperty(value = "物料编码")
    @TableField("VEHICLE_CODE")
    private String vehicleCode;

    @ApiModelProperty(value = "车系编码")
    @TableField("SERIES_CODE")
    private String seriesCode;

    @ApiModelProperty(value = "车系")
    @TableField("SERIES_NAME")
    private String seriesName;

    @ApiModelProperty(value = "产品代码")
    @TableField("PRODUCT_CODE")
    private String productCode;

    @ApiModelProperty(value = "产品名称")
    @TableField("PRODUCT_NAME")
    private String productName;

    @ApiModelProperty(value = "内饰颜色代码")
    @TableField("COLOR_CODE_IN")
    private String colorCodeIn;

    @ApiModelProperty(value = "内饰颜色名称")
    @TableField("COLOR_NAME_IN")
    private String colorNameIn;

    @ApiModelProperty(value = "外饰颜色代码")
    @TableField("COLOR_CODE_OUT")
    private String colorCodeOut;

    @ApiModelProperty(value = "外饰颜色名称")
    @TableField("COLOR_NAME_OUT")
    private String colorNameOut;

    @ApiModelProperty(value = "选装包明细")
    @TableField("CUSTOM_PACK_DETAILS")
    private String customPackDetails;

    @ApiModelProperty(value = "选装包明细")
    @TableField("CUSTOM_PACK_NAMES")
    private String customPackNames;

    @ApiModelProperty(value = "数量")
    @TableField("VEHICLE_COUNT")
    private String vehicleCount;

    @ApiModelProperty(value = "价格")
    @TableField("VEHICLE_PRICE")
    private BigDecimal vehiclePrice;

    @ApiModelProperty(value = "是否安装充电桩")
    @TableField("IS_CHARGING_POINT")
    private Integer isChargingPoint;

    @ApiModelProperty(value = "充电桩安装地址")
    @TableField("CHARGING_ADDR")
    private String chargingAddr;

    @ApiModelProperty(value = "安装联系人")
    @TableField("CHARGING_LINKMAN")
    private String chargingLinkman;

    @ApiModelProperty(value = "安装电话")
    @TableField("CHARGING_PHONE")
    private String chargingPhone;

    @ApiModelProperty(value = "状态")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value = "备注")
    @TableField("MEMO")
    private String memo;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATE_BY")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField("UPDATE_BY")
    private String updateBy;

    @ApiModelProperty(value = "删除")
    @TableField("IS_DEL")
    private Integer isDel;

    private String partnerCode;

    private String partnerFinancial;

    @ApiModelProperty(value = "结算价")
    private BigDecimal settlementPrice ; //结算价
    @ApiModelProperty(value = "优惠金额")
    private BigDecimal preferentialPrice; //优惠金额
    @ApiModelProperty(value = "税金")
    private BigDecimal taxesPrice;   //税金
}
